/* -----------------------------------------------------------------------------
 * PROJECT    : lwf
 * FILE       : LwfWorksheetActionForm.java
 *
 * HISTORY:
 * Date          Author                        Description
 * ----------------------------------------------------------------------------- 
 * Mar 12, 2011  mycodetalks			       Created
 */
package net.lwf.web.struts.action;

import java.util.List;

import net.lwf.jaxb.entity.StaticWorkSheet;
import lwf.handler.entities.RadioData;
import lwf.web.struts.action.form.WorkSheetForm;

/**
 * Class description goes here
 */
public class LwfWorksheetActionForm extends WorkSheetForm {

	private static final long serialVersionUID = 1L;
	
	//------------------------------------------------------- For Static Worksheets if any
	private String subject;
	private String topic;
	private List<StaticWorkSheet> worksheets;
	private List<RadioData> radioData;
	private String dynamicPdfLink;
	private String dynamicPdfLinkName;
	private boolean showBackLink = false;

	// End of attributes for the static worksheets ---------------------------------------
	private String question;
	private String htmlQuestion;
	private int questionNumber;
	private String operation; //????
	private boolean askQuestion = false;
	private String instructionText; //For showing the instructions for the problem on the UI
	
	//Getters and Setters
	
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public List<StaticWorkSheet> getWorksheets() {
		return worksheets;
	}
	public void setWorksheets(List<StaticWorkSheet> worksheets) {
		this.worksheets = worksheets;
	}
	public List<RadioData> getRadioData() {
		return radioData;
	}
	public void setRadioData(List<RadioData> radioData) {
		this.radioData = radioData;
	}
	public String getDynamicPdfLink() {
		return dynamicPdfLink;
	}
	public void setDynamicPdfLink(String dynamicPdfLink) {
		this.dynamicPdfLink = dynamicPdfLink;
	}
	public String getDynamicPdfLinkName() {
		return dynamicPdfLinkName;
	}
	public void setDynamicPdfLinkName(String dynamicPdfLinkName) {
		this.dynamicPdfLinkName = dynamicPdfLinkName;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getHtmlQuestion() {
		return htmlQuestion;
	}
	public void setHtmlQuestion(String htmlQuestion) {
		this.htmlQuestion = htmlQuestion;
	}
	public int getQuestionNumber() {
		return questionNumber;
	}
	public void setQuestionNumber(int questionNumber) {
		this.questionNumber = questionNumber;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public boolean isAskQuestion() { //should be geetAskQuestion
		return askQuestion;
	}
	public void setAskQuestion(boolean askQuestion) {
		this.askQuestion = askQuestion;
	}
	
	public boolean isShowBackLink() {
		return showBackLink;
	}
	public void setShowBackLink(boolean showBackLink) {
		this.showBackLink = showBackLink;
	}
	
	public String getInstructionText() {
		return instructionText;
	}
	public void setInstructionText(String instructionText) {
		this.instructionText = instructionText;
	}
	public void resetWsInfo() {
		this.subject = null;
		this.topic = null;
		this.worksheets = null;
		this.radioData = null;
		this.dynamicPdfLink = null;
		this.dynamicPdfLinkName = null;
		this.showBackLink = false;
		this.instructionText = null;
	}
	

}



